home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextXYToPos.z
/
XmTextXYToPos
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss - A Text function that accesses the character
position nearest an x and y position
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
PPPPoooossssiiiittttiiiioooonnnn xxxx,
PPPPoooossssiiiittttiiiioooonnnn yyyy);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss accesses the character position nearest to the
specified _x and _y position, relative to the upper left
corner of the Text widget.
In the case of horizontal writing, the position is the
origin of the character. In the case of vertical writing,
the position is the vertical origin of the character.
_w_i_d_g_e_t Specifies the Text widget ID
_x Specifies the _x position, relative to the upper
left corner of the widget
_y Specifies the _y position, relative to the upper
left corner of the widget
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the character position in the text nearest the _x and
_yposition specified. This is an integer number of characters
from the beginning of the buffer. The first character
position is 0 (zero).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxtttt(3).
Page 1 (printed 10/24/98)